package com.insta.playdroid;

import java.util.List;

import android.content.Context;

import com.insta.playdroid.metier.domain.Song;

public interface IPlayer {

	/*
	 * démarrer l'activité affichant la vue du lecteur
	 */
	public abstract void startPlayerActivity();

	public abstract void setSong(int position);

	public abstract void play();

	/**
	 * return le média précédent le courant
	 */
	public abstract Song prevSong();

	/**
	 * lance le média suivant le courant
	 */
	public abstract Song nextSong();

	public abstract int getCodeList();

	public abstract void setCodeList(int codeList);

	public abstract Song getSong();

	public abstract void setSong(Song song);

	public abstract boolean isRepeatOne();

	public abstract void setRepeatOne(boolean repeatOne);

	public abstract boolean isRepeatAll();

	public abstract void setRepeatAll(boolean repeatAll);

	public abstract boolean isRandom();

	public abstract void setRandom(boolean random);

	public abstract List<Song> getSongs();

	public abstract void setSongs(List<Song> songs);

	public abstract Context getContext();

	public abstract void setContext(Context context);

	public abstract void startPlayerActivity(boolean callfromMenu);
	
	public abstract boolean isCallfromMenu();

	public abstract void setCallfromMenu(boolean callfromMenu);

}